package net.huashitong.ssydt.user.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.10
 */
public class MobileVO implements Serializable {

    private static final long serialVersionUID = -7170853435569575638L;
    @ApiModelProperty(value = "手机号", required = true)
    @NotEmpty(message = "手机号码不能为空")
    private String mobile;//手机号

    @ApiModelProperty(value = "验证码", required = true)
    @NotEmpty(message = "验证码不能为空")
    private String vaildCode;//验证码

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getVaildCode() {
        return vaildCode;
    }

    public void setVaildCode(String vaildCode) {
        this.vaildCode = vaildCode;
    }
}
